package com.luckyframe.project.jmeter.jmeterAlertRecord.domain;

import com.luckyframe.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 告警记录表 jmeter_alert_record
 * 
 * @author lancelot
 * @date 2020-11-24
 */
public class JmeterAlertRecord extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long id;
	/** 模块id */
	private Long moduleId;
	/** 模块名称 */
	private String moduleName;
	/** 项目id 关联sys_project */
	private Long projectId;
	/** 项目名称 */
	private String projectName;
	/** 接口名称 */
	private String interfaceName;
	/** caseId */
	private Long caseId;
	/** 用例名称 */
	private String caseName;
	/** 预警类型 */
	private String type;
	/** 预警原因 */
	private String msg;
	/** 预警时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 修改时间 */
	private Date updateTime;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setModuleId(Long moduleId) 
	{
		this.moduleId = moduleId;
	}

	public Long getModuleId() 
	{
		return moduleId;
	}
	public void setModuleName(String moduleName) 
	{
		this.moduleName = moduleName;
	}

	public String getModuleName() 
	{
		return moduleName;
	}
	public void setProjectId(Long projectId) 
	{
		this.projectId = projectId;
	}

	public Long getProjectId() 
	{
		return projectId;
	}
	public void setProjectName(String projectName) 
	{
		this.projectName = projectName;
	}

	public String getProjectName() 
	{
		return projectName;
	}
	public void setInterfaceName(String interfaceName) 
	{
		this.interfaceName = interfaceName;
	}

	public String getInterfaceName() 
	{
		return interfaceName;
	}
	public void setCaseId(Long caseId) 
	{
		this.caseId = caseId;
	}

	public Long getCaseId() 
	{
		return caseId;
	}
	public void setCaseName(String caseName) 
	{
		this.caseName = caseName;
	}

	public String getCaseName() 
	{
		return caseName;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setMsg(String msg) 
	{
		this.msg = msg;
	}

	public String getMsg() 
	{
		return msg;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("moduleId", getModuleId())
            .append("moduleName", getModuleName())
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("interfaceName", getInterfaceName())
            .append("caseId", getCaseId())
            .append("caseName", getCaseName())
            .append("type", getType())
            .append("msg", getMsg())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
